<?php
	$this->start('admin_script');
	echo $this->element('assets/script');
	$this->end();
	
	$this->start('admin_css');
	echo $this->element('assets/css');
	$this->end();
?>

<!DOCTYPE html>
<html>
    <head>
        <?php echo $this->Html->charset(); ?>
        <title><?php echo $title_for_layout; ?></title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <?php echo $this->Html->script('jquery.min'); ?>
        
        
        <?php echo $this->fetch('admin_css'); ?>
    </head>
    <body class="skin-blue">
	<!-- HEADER (S) -->
	<?php echo $this->element('header'); ?>
	<!-- HEADER (E) -->
	
	<!-- WRAPPER (S) -->
	<div class="wrapper row-offcanvas row-offcanvas-left">
		<!-- SIDEBAR (S) -->
		<aside class="left-side sidebar-offcanvas">
			<?php echo $this->element('sidebar'); ?>
		</aside>
		<!-- SIDEBAR (E) -->
		
		<!-- MAIN CONTENT (S) -->
		<aside class="right-side">
			<!-- CONTENT HEADERS (S) -->
			<section class="content-header">
                <h1>
                    Dashboard
                    <small>Control panel</small>
                </h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                    <li class="active">Dashboard</li>
                </ol>
            </section>
			<!-- CONTENT HEADERS (E) -->
			
			<!-- REAL CONTENT (S) -->
			<section class="content">
				<?php echo $this->fetch('content'); ?>
			</section>
			<!-- REAL CONTENT (E) -->
		</aside>
		<!-- MAIN CONTENT (E) -->
	</div>
	<!-- WRAPPER (E) -->
			
	<!-- JAVASCRIPTS (S) -->
	<?php echo $this->fetch('admin_script'); ?>	
	<!-- JAVASCRIPTS (E) -->	
    </body>
</html>